#include "mainwindow.h"
#include <QApplication>
#include "login.h"
#include "common/common.h"

int main(int argc, char *argv[])
{

#if (QT_VERSION >= QT_VERSION_CHECK(5,6,0))
    {
        QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
        QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
    }
#endif

    QApplication a(argc, argv);
    Login w;
    w.show();

    return a.exec();
}
